.class public final Lnbisdk/ap;
.super Ljava/lang/Object;


# static fields
.field private static bw:Ljava/util/Hashtable;

.field private static bx:Lnbisdk/eg;


# instance fields
.field private by:Lnbisdk/ed;


# direct methods
.method static constructor <clinit>()V
    .locals 0

    return-void
.end method

.method private constructor <init>(Lnbisdk/ed;)V
    .locals 0

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    iput-object p1, p0, Lnbisdk/ap;->by:Lnbisdk/ed;

    return-void
.end method

.method static a(Lnbisdk/eg;)V
    .locals 1

    new-instance v0, Ljava/util/Hashtable;

    invoke-direct {v0}, Ljava/util/Hashtable;-><init>()V

    sput-object v0, Lnbisdk/ap;->bw:Ljava/util/Hashtable;

    sput-object p0, Lnbisdk/ap;->bx:Lnbisdk/eg;

    return-void
.end method

.method public static b(Ljava/lang/String;Z)Lnbisdk/ap;
    .locals 3
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Lnbisdk/an;
        }
    .end annotation

    invoke-static {p0}, Lnbisdk/ap;->g(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    sget-object v1, Lnbisdk/ap;->bx:Lnbisdk/eg;

    const/4 v2, 0x1

    invoke-interface {v1, v0, v2}, Lnbisdk/eg;->c(Ljava/lang/String;Z)Lnbisdk/ed;

    move-result-object v1

    sget-object v2, Lnbisdk/ap;->bw:Ljava/util/Hashtable;

    invoke-virtual {v2, v0, v1}, Ljava/util/Hashtable;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    new-instance v0, Lnbisdk/ap;

    invoke-direct {v0, v1}, Lnbisdk/ap;-><init>(Lnbisdk/ed;)V

    return-object v0
.end method

.method public static close()V
    .locals 2

    sget-object v0, Lnbisdk/ap;->bw:Ljava/util/Hashtable;

    if-eqz v0, :cond_1

    sget-object v0, Lnbisdk/ap;->bw:Ljava/util/Hashtable;

    invoke-virtual {v0}, Ljava/util/Hashtable;->size()I

    move-result v0

    if-lez v0, :cond_1

    sget-object v0, Lnbisdk/ap;->bw:Ljava/util/Hashtable;

    invoke-virtual {v0}, Ljava/util/Hashtable;->elements()Ljava/util/Enumeration;

    move-result-object v1

    :goto_0
    invoke-interface {v1}, Ljava/util/Enumeration;->hasMoreElements()Z

    move-result v0

    if-eqz v0, :cond_0

    invoke-interface {v1}, Ljava/util/Enumeration;->nextElement()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lnbisdk/ed;

    invoke-interface {v0}, Lnbisdk/ed;->close()V

    goto :goto_0

    :cond_0
    sget-object v0, Lnbisdk/ap;->bw:Ljava/util/Hashtable;

    invoke-virtual {v0}, Ljava/util/Hashtable;->clear()V

    const/4 v0, 0x0

    sput-object v0, Lnbisdk/ap;->bw:Ljava/util/Hashtable;

    :cond_1
    return-void
.end method

.method private static final g(Ljava/lang/String;)Ljava/lang/String;
    .locals 2

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    sget-object v1, Lnbisdk/bk;->cD:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public static h(Ljava/lang/String;)V
    .locals 2
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Lnbisdk/an;
        }
    .end annotation

    invoke-static {p0}, Lnbisdk/ap;->g(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    sget-object v1, Lnbisdk/ap;->bx:Lnbisdk/eg;

    invoke-interface {v1, v0}, Lnbisdk/eg;->m(Ljava/lang/String;)V

    sget-object v1, Lnbisdk/ap;->bw:Ljava/util/Hashtable;

    invoke-virtual {v1, v0}, Ljava/util/Hashtable;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object p0

    check-cast p0, Lnbisdk/ed;

    if-eqz p0, :cond_0

    invoke-interface {p0}, Lnbisdk/ed;->clear()V

    sget-object v1, Lnbisdk/ap;->bw:Ljava/util/Hashtable;

    invoke-virtual {v1, v0}, Ljava/util/Hashtable;->remove(Ljava/lang/Object;)Ljava/lang/Object;

    :cond_0
    return-void
.end method


# virtual methods
.method public final B(I)[B
    .locals 1
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Lnbisdk/an;
        }
    .end annotation

    iget-object v0, p0, Lnbisdk/ap;->by:Lnbisdk/ed;

    invoke-interface {v0, p1}, Lnbisdk/ed;->B(I)[B

    move-result-object v0

    return-object v0
.end method

.method public final C(I)V
    .locals 1
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Lnbisdk/an;
        }
    .end annotation

    iget-object v0, p0, Lnbisdk/ap;->by:Lnbisdk/ed;

    invoke-interface {v0, p1}, Lnbisdk/ed;->O(I)V

    return-void
.end method

.method public final a([BII)I
    .locals 1
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Lnbisdk/an;
        }
    .end annotation

    iget-object v0, p0, Lnbisdk/ap;->by:Lnbisdk/ed;

    invoke-interface {v0, p1}, Lnbisdk/ed;->e([B)I

    move-result v0

    return v0
.end method

.method public final a([BIIZ)I
    .locals 1
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Lnbisdk/an;
        }
    .end annotation

    iget-object v0, p0, Lnbisdk/ap;->by:Lnbisdk/ed;

    invoke-interface {v0, p1}, Lnbisdk/ed;->e([B)I

    move-result v0

    return v0
.end method

.method public final a(Lnbisdk/jt;)Lnbisdk/cl;
    .locals 2
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Lnbisdk/an;
        }
    .end annotation

    iget-object v0, p0, Lnbisdk/ap;->by:Lnbisdk/ed;

    const/4 v1, 0x0

    invoke-interface {v0, v1}, Lnbisdk/ed;->a(Lnbisdk/jt;)Lnbisdk/cl;

    move-result-object v0

    return-object v0
.end method

.method public final a(I[BII)V
    .locals 2
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Lnbisdk/an;
        }
    .end annotation

    iget-object v0, p0, Lnbisdk/ap;->by:Lnbisdk/ed;

    const/4 v1, 0x0

    invoke-interface {v0, p1, p2, v1, p4}, Lnbisdk/ed;->b(I[BII)V

    return-void
.end method

.method public final a(I[BIIZ)V
    .locals 2
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Lnbisdk/an;
        }
    .end annotation

    iget-object v0, p0, Lnbisdk/ap;->by:Lnbisdk/ed;

    const/4 v1, 0x0

    invoke-interface {v0, p1, p2, v1, p4}, Lnbisdk/ed;->b(I[BII)V

    return-void
.end method

.method public final aJ()V
    .locals 1
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Lnbisdk/an;
        }
    .end annotation

    iget-object v0, p0, Lnbisdk/ap;->by:Lnbisdk/ed;

    invoke-interface {v0}, Lnbisdk/ed;->close()V

    return-void
.end method

.method public final aK()I
    .locals 1

    iget-object v0, p0, Lnbisdk/ap;->by:Lnbisdk/ed;

    invoke-interface {v0}, Lnbisdk/ed;->aK()I

    move-result v0

    return v0
.end method

.method public final aL()Lnbisdk/ed;
    .locals 1

    iget-object v0, p0, Lnbisdk/ap;->by:Lnbisdk/ed;

    return-object v0
.end method
